home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7467 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: sn.no!not-for-mail
  2. From: ilan@sn.no (Ilan Sharoni)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: BitMap problem
  5. Date: 17 Apr 1996 01:28:54 +0200
  6. Organization: SN Internett
  7. Message-ID: <4l1afm$ioo@sinsen.sn.no>
  8. References: <Pine.LNX.3.91.960415142638.3721A-100000@mix.hsv.no>
  9. NNTP-Posting-Host: sinsen.sn.no
  10. X-Newsreader: THOR 2.0 (SOUP)
  11.  
  12. On 15-Apr-96 14:33:45, Leonard Faanes (shoeless@mix.hsv.no) Wrote:
  13.  
  14. >Hmm. There still seems to be your fault. The following should work:
  15.  
  16. >InitRastPort(rp)
  17. >bm=AllocBitMap
  18. >rp->BitMap=bm
  19.  
  20. >RectFill()     The rendering MUST NOT go outside the bitmap, or else you
  21. >Text()          need a layer for clipping it. (Makes you wonder
  22. >                why clipregions isn't rastport related instead of layer
  23. >                related...(like the egs system))
  24.  
  25. RectFill(0,0,bitmap_width,bitmap_height) - is this too big?
  26.  
  27. >WaitBlit()  (you never know)
  28. >FreeBitMap();
  29.  
  30. Sure it works, but when I'm finished, and back in my original
  31. window, the leftmost menu-strip is either gone, or explode the
  32. moment I try to access it.
  33.  
  34. >Beep!
  35.  
  36. It is rather boooooooooom!!!!!!!!.
  37.  
  38. ilan
  39.  
  40.  
  41.  
  42.  
  43.  
  44.